import request from './request'

export const listProblems = (params) => {
	return request({ method: 'post', url: '/api/bizProblemRectify/list', data: params })
}

export const getProblem = (id) => {
	return request({ method: 'get', url: `/api/bizProblemRectify/get/${id}` })
}

export const addProblem = (data) => {
	return request({ method: 'post', url: '/api/bizProblemRectify/add', data })
}

export default {
	listProblems,
	getProblem,
	addProblem,
}
